package com.supemarket.service.impl;

import java.util.List;

import com.supemarket.dao.AddSupemarketDao;
import com.supemarket.dao.BaseDao;
import com.supemarket.dao.DelSupemarketDao;
import com.supemarket.dao.SelectSupemarketDao;
import com.supemarket.dao.UpdateSupemarket;
import com.supemarket.dao.impl.AddSupemarketDaoimpl;
import com.supemarket.dao.impl.DelSupemarketDaoimpl;
import com.supemarket.dao.impl.SelectSupemarketDaoimpl;
import com.supemarket.dao.impl.UpdateSupemarketimpl;
import com.supemarket.entity.admin;
import com.supemarket.service.Adminservice;

public class adminserviceimpl extends BaseDao implements Adminservice {

	AddSupemarketDao addDao = new AddSupemarketDaoimpl();
	SelectSupemarketDao seleDao = new SelectSupemarketDaoimpl();
	UpdateSupemarket upDao = new UpdateSupemarketimpl();
	DelSupemarketDao delDao = new DelSupemarketDaoimpl();
	@Override
	public List<admin> admins() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean adminadd(admin admin) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean adminup(admin admin) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean admindel(int id) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public admin denglu(String password, String username) {
		
		return seleDao.denglu(password, username);
	}

}
